package com.caishi.lkx.order.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author by keray
 * date:2019/9/9 10:40
 */
public enum OrderType {
    //
    openGroup("学校开通订单", 1),
    onlineOrder("在线订单", 3),
    openCourse("代理商开课", 5),
    openCode("代理商提码", 6),
    userCode("用户激活码开课", 7),
    ;
    @Getter
    final
    String desc;

    @EnumValue
    @Getter
    final
    Integer code;

    OrderType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

}
